import request from "@/utils/request";

// 1.列表
export const expressCompany_ListAPI = (params) => {
  return request({
    url: "/base/company/list",
    params,
  });
};
// 1.新增
export const expressCompany_AddAPI = (data) => {
  return request({
    url: "/base/company/save",
    method: "post",
    data,
  });
};
// 1.编辑
export const expressCompany_EditAPI = (data) => {
  return request({
    url: "/base/company/save",
    method: "put",
    data,
  });
};
// 1.删除
export const expressCompany_DelAPI = (ids) => {
  return request({
    url: `/base/company/${ids}`,
    method: "delete",
  });
};
//2.导出
export const expressCompany_ExportAPI = (params) => {
  return request({
    url: "/base/company/export",
    method: "post",
    params,
  });
};
